package com.yunxi.model.freeze;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 渠道商冻结资金账户流水表
 * </p>
 *
 * @author caoYong
 * @since 2019-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pms_partner_amount_freeze_flow")
@ApiModel(value="PartnerAmountFreezeFlow对象", description="渠道商冻结资金账户流水表")
public class PartnerAmountFreezeFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "FLOW_ID", type = IdType.UUID)
    private String flowId;

    @ApiModelProperty(value = "渠道商编码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "订货单号")
    @TableField("ORDER_CAR_ID")
    private String orderCarId;

    @ApiModelProperty(value = "冻结金额")
    @TableField("FREEZE_AMOUNT")
    private BigDecimal freezeAmount;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "渠道商账户代码")
    @TableField("ACCOUNT_CODE")
    private String accountCode;

    @ApiModelProperty(value = "冻结标识1表示冻结 0表示未冻结")
    @TableField("FREEZE_STATUS")
    private Integer freezeStatus;

    @ApiModelProperty(value = "VIN码")
    @TableField("VIN")
    private String vin;

}
